//
// Created by Administrator on 2023/9/13.
// clion使用freopen出问题的解决方法
// https://blog.csdn.net/qq_29630271/article/details/78974163
//
#include <iostream>
//#include <cstdio>

using namespace std;

int main()
{
    freopen("input.txt","r",stdin);
    freopen("output.txt","w",stdout);
    int n;
    cin>>n;
    int arr[n];
    for (int i = 0; i < n; ++i)
    {
        cin>>arr[i];
    }
    for (int j = 0; j < n; ++j)
    {
        cout<<arr[j]<<endl;
    }
//    fclose(stdin);
//    fclose(stdout);
    return 0;
}